extends Node
# 1. 跳转场景的实现  ResourceLoader.load
# 2. ToolTest 中 @tool的使用在编辑器中运行代码
# 3. ToolTest 属性填写错误警告检查, 比如设置 ToolTest.title 和 description 错误的属性值,会在场景的节点显示错误图标

func _on_pingpong_pressed():
	GoScene.goto_scene_progress("res://pingpong/main.tscn")

func _on_resource_test_pressed():
	GoScene.goto_scene("res://resource_test/main.tscn")

func _on_pannel_pressed():
	GoScene.goto_scene("res://pannel/main.tscn")

func _on_circle_pressed():
	GoScene.goto_scene("res://circle/main.tscn")

func _on_orient_object_pressed():
	GoScene.goto_scene("res://orient_object/main.tscn")

func _on_saving_game_pressed():
	GoScene.goto_scene("res://save_game/main.tscn")

func _on_physics_pressed():
	GoScene.goto_scene("res://physics/main.tscn")

# 视差背景
func _on_parallel_pressed():
	GoScene.goto_scene("res://parallel/main.tscn")
	
func _on_effect_button_pressed():
	GoScene.goto_scene("res://effects/fireball.tscn")

func _on_saving_game_2_pressed():
	GoScene.goto_scene("res://save_game2/main.tscn")


func _on_minimap_button_pressed():
	GoScene.goto_scene("res://minimap/main.tscn")

func _on_load_blender_pressed() -> void:
	GoScene.goto_scene("res://load_blender/main.tscn")
